package com.mmsoft.findertalk.common;

public class ResultBase {
    public static final int RESULT_OK = 1;
    public static final int RESULT_WITH_MESSAGE = 2;
    public static final int RESULT_EXCEPTION = 3;
    
    private String message;
    private String exceptionMessage;
    private String exceptionDescription;
    private int result;
    
    public ResultBase() {
        message = "";
        exceptionMessage = "";
        exceptionDescription = "";
    }

    public String getExceptionMessage() {
        return exceptionMessage;
    }

    public void setExceptionMessage(String exceptionMessage) {
        this.exceptionMessage = exceptionMessage;
    }

    public String getExceptionDescription() {
        return exceptionDescription;
    }

    public void setExceptionDescription(String exceptionDescription) {
        this.exceptionDescription = exceptionDescription;
    }

    public int getResult(){
        return result;
    }
    
    public void setResult(int result){
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}

